package com.hycreate.platform.modules.numberinfo;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.hycreate.platform.common.persistence.Page;
import com.hycreate.platform.common.service.CrudService;

/**
 * 工单Service
 * @author wang
 * @version 2017-11-29
 */
@Service
@Transactional(readOnly = true)
public class YhcgNumberinfoService extends CrudService<YhcgNumberinfoDao, YhcgNumberinfo> {

	public YhcgNumberinfo get(String id) {
		return super.get(id);
	}
	
	public List<YhcgNumberinfo> findList(YhcgNumberinfo yhcgNumberinfo) {
		return super.findList(yhcgNumberinfo);
	}
	
	public Page<YhcgNumberinfo> findPage(Page<YhcgNumberinfo> page, YhcgNumberinfo yhcgNumberinfo) {
		return super.findPage(page, yhcgNumberinfo);
	}
	
	@Transactional(readOnly = false)
	public void save(YhcgNumberinfo yhcgNumberinfo) {
		super.save(yhcgNumberinfo);
	}
	
	@Transactional(readOnly = false)
	public void delete(YhcgNumberinfo yhcgNumberinfo) {
		super.delete(yhcgNumberinfo);
	}
	
}